package View;

import java.util.ArrayList;

/**
 *
 * @author elach_000
 */
public class SquareView {
    private int baseTile;
    private ArrayList<Integer> heightTiles;
    private int being = -1;
    private int building = -1;
    
    
    public SquareView() {
        this.heightTiles = new ArrayList<Integer>();
    }
  
    	public String toString()
	{
		String symb = ""+baseTile;	
		return symb;
	}
    
    
    
    public int getBaseTile() {
        return baseTile;
    }

    public void setBaseTile(int baseTile) {
        this.baseTile = baseTile;
    }

    public ArrayList<Integer> getHeightTiles() {
        return heightTiles;
    }

    public void addHeightTile(int heightTile) {
        this.heightTiles.add(heightTile);
    }   

    public int getCharacter() {
        return being;
    }

    public void setCharacter(int being) {
        this.being = being;
    }

    void modifyTopTile(int tileID) {
        this.heightTiles.set(this.heightTiles.size()-1, tileID);
    }

    public int getBuilding() {
        return building;
    }

    public void setBuilding(int building) {
        this.building = building;
    }
    
    
}
